package managers
{
	import assets.Sounds;
	
	import flash.sampler.NewObjectSample;

	public class SoundManager
	{
		public static function Earthquake():void
		{
			Sounds.earthquake.play();
		}
		
		public static function marinShoot():void
		{
			Sounds.marinShoot.play(0,1);
		}

		
		public static function monsterDead():void
		{
			Sounds.monsterDead.play(1000,1);
		}
		
		public static function monsterFight():void
		{
			if(Math.random()>0.5)
			{
				Sounds.monsterFight1.play(0,1);
			}
			else
			{
				Sounds.monsterFight2.play(0,1);
			}
		}
		
		public static function gunerShoot():void
		{
			Sounds.gunerShoot.play(0,1);
		}

	}
}